SHELL = /bin/sh

SOURCE =  singlecache_wrapper.cpp Cache.cpp
INC = Cache.h
CFLAGS = -Wall -g
CC = g++
INCLUDES = -I. 
LIBS = -lm
EXECUTABLE=cachesim

${EXECUTABLE}:${SOURCE} ${INC} misc.h
	${CC} ${CFLAGS} ${INCLUDES} -c Cache.cpp ${LIBS}
	${CC} ${CFLAGS} ${INCLUDES} -c singlecache_wrapper.cpp ${LIBS}

clean:
	rm -f *.o
